package patrol.mobile.com.mobilepatrol.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by z on 2018/10/19.
 * Des:设备巡检明细
 */

public class ShebeiXunJianBean implements Serializable {

    /**
     * id : 64bfbce85f9d4465a3005b261d3b4d7f
     * isNewRecord : false
     * createDate : 2018-10-08 11:20:17
     * updateDate : 2018-10-08 11:20:17
     * org : {"id":"b37fa1e91bd44824aa8d6620c5611748","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"巴楚分局","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"}
     * account : {"id":"84ad799558d443579003c3b0961442a4","isNewRecord":false,"name":"张炎生"}
     * date : 2018-10-08 11:19:58
     * jiankkElefailinsprecDivList : [{"id":"27b86a91a3184e939c35e964e64f7724","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"1","equipmentName":"亭内摄像机","date":"2018-10-08 11:20:00","equipmentStatus":"正常","faultSituation":"33","maintenanceLog":"","maintenanceRecord":""},{"id":"8db280790bf34c849095d7aceb14f352","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"2","equipmentName":"亭内对讲机","date":"2018-10-17 11:20:04","equipmentStatus":"故障","faultSituation":"有问题","maintenanceLog":"","maintenanceRecord":""},{"id":"101b4aa2b50441efade6ef9c1e7e10be","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"3","equipmentName":"收费主机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"c31f9fba513e4aa9985c65abc8edb290","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"4","equipmentName":"显示器","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"ce1de1e150cd46d4886f8a4e0ffd1f0f","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"5","equipmentName":"票据打印机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"ff98b2226831476f82eb3f8d31630637","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"6","equipmentName":"报警器","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"767b2d1f19fe49fa8874dc96c89bb12a","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"收费亭","equipmentOrder":"7","equipmentName":"空调","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"2f888cf519254c9fa49ccfad5f7f8a68","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"车道","equipmentOrder":"8","equipmentName":"栏杆机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"b5a80b345e3e4b859520e507698b6a5d","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"车道","equipmentOrder":"9","equipmentName":"费额显示器","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"db5178cb097e47248633c18921476da8","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"车道","equipmentOrder":"10","equipmentName":"车道摄像机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"f8526e1da59e4fc8a7074231bec6316a","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"车道","equipmentOrder":"11","equipmentName":"顶棚信号灯","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"0b1011b60dbf4a44a5c2417b268c38bc","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"车道","equipmentOrder":"12","equipmentName":"秤台、光栅","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"f94d4b2e5a694e488ad148299ddcc607","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"13","equipmentName":"收费监控计算机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"a2c9a046592c4465bdeb1f224278b4d3","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"14","equipmentName":"收费报表计算机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"5b048193c3884af6a9f698508205b2b9","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"15","equipmentName":"图片查询计算机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"b6465539963740458545d2089a283707","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"16","equipmentName":"视频监控计算机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"8cf2962135e349469a4d3b8f544ee679","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"17","equipmentName":"硬盘录像机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"8befb33a65754046bf51b2580d33de52","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"18","equipmentName":"主监视器","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"666c54e7efef4a4da01e4b1d19e6b5fc","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"19","equipmentName":"矩阵键盘","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"0cb6233fe4904d67aab9d1e876f7c12a","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"20","equipmentName":"监视墙","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"53866d50c3ac45f98694d4e1f7eb57e4","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"监控室","equipmentOrder":"21","equipmentName":"空调","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"2755696ccd1148e88c6e7d08e63a90fd","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"机房","equipmentOrder":"22","equipmentName":"通信传输","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"5d861c9db4004534b677521ad996511f","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"机房","equipmentOrder":"23","equipmentName":"通信电源","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"393315e0a4ac4d47a64aaae2e5ab82e5","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"机房","equipmentOrder":"24","equipmentName":"视频编解码器","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"f27b42ebff6c46099f64bad71a7b2baf","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"机房","equipmentOrder":"25","equipmentName":"视频光端机","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"0ad6ee52188c474c9afc688d704e2f7a","isNewRecord":false,"createDate":"2018-10-08 11:20:17","updateDate":"2018-10-08 11:20:17","elefailinsprec":{"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false},"position":"机房","equipmentOrder":"26","equipmentName":"空调","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""}]
     */

    private String id;
    private boolean isNewRecord;
    private String createDate;
    private String updateDate;
    private OrgBean org;
    private AccountBean account;
    private String date;
    private List<JiankkElefailinsprecDivListBean> jiankkElefailinsprecDivList;
    private List<ParentBean> parentBeanList;

    public List<ParentBean> getParentBeanList() {
        return parentBeanList;
    }

    public void setParentBeanList(List<ParentBean> parentBeanList) {
        this.parentBeanList = parentBeanList;
    }
    public static class ParentBean implements Serializable {
        /**
         * proLarge : 遵守纪律
         * listbean
         */
        String clazz;
        List<JiankkElefailinsprecDivListBean> childList;

        public String getProLarge() {
            return clazz;
        }

        public void setProLarge(String clazz) {
            this.clazz = clazz;
        }

        public List<JiankkElefailinsprecDivListBean> getChildList() {
            return childList;
        }

        public void setChildList(List<JiankkElefailinsprecDivListBean> childList) {
            this.childList = childList;
        }
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isIsNewRecord() {
        return isNewRecord;
    }

    public void setIsNewRecord(boolean isNewRecord) {
        this.isNewRecord = isNewRecord;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public OrgBean getOrg() {
        return org;
    }

    public void setOrg(OrgBean org) {
        this.org = org;
    }

    public AccountBean getAccount() {
        return account;
    }

    public void setAccount(AccountBean account) {
        this.account = account;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<JiankkElefailinsprecDivListBean> getJiankkElefailinsprecDivList() {
        return jiankkElefailinsprecDivList;
    }

    public void setJiankkElefailinsprecDivList(List<JiankkElefailinsprecDivListBean> jiankkElefailinsprecDivList) {
        this.jiankkElefailinsprecDivList = jiankkElefailinsprecDivList;
    }

    public static class OrgBean implements Serializable{
        /**
         * id : b37fa1e91bd44824aa8d6620c5611748
         * isNewRecord : false
         * orderNo : 0
         * isLeaf : false
         * treeTable : sys_org
         * orgName : 巴楚分局
         * officeId : 0
         * extParentData : false
         * noUsed : false
         * state : closed
         */

        private String id;
        private boolean isNewRecord;
        private int orderNo;
        private boolean isLeaf;
        private String treeTable;
        private String orgName;
        private int officeId;
        private boolean extParentData;
        private boolean noUsed;
        private String state;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public int getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(int orderNo) {
            this.orderNo = orderNo;
        }

        public boolean isIsLeaf() {
            return isLeaf;
        }

        public void setIsLeaf(boolean isLeaf) {
            this.isLeaf = isLeaf;
        }

        public String getTreeTable() {
            return treeTable;
        }

        public void setTreeTable(String treeTable) {
            this.treeTable = treeTable;
        }

        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        public int getOfficeId() {
            return officeId;
        }

        public void setOfficeId(int officeId) {
            this.officeId = officeId;
        }

        public boolean isExtParentData() {
            return extParentData;
        }

        public void setExtParentData(boolean extParentData) {
            this.extParentData = extParentData;
        }

        public boolean isNoUsed() {
            return noUsed;
        }

        public void setNoUsed(boolean noUsed) {
            this.noUsed = noUsed;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }
    }

    public static class AccountBean implements Serializable{
        /**
         * id : 84ad799558d443579003c3b0961442a4
         * isNewRecord : false
         * name : 张炎生
         */

        private String id;
        private boolean isNewRecord;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class JiankkElefailinsprecDivListBean implements Serializable{
        /**
         * id : 27b86a91a3184e939c35e964e64f7724
         * isNewRecord : false
         * createDate : 2018-10-08 11:20:17
         * updateDate : 2018-10-08 11:20:17
         * elefailinsprec : {"id":"64bfbce85f9d4465a3005b261d3b4d7f","isNewRecord":false}
         * position : 收费亭
         * equipmentOrder : 1
         * equipmentName : 亭内摄像机
         * date : 2018-10-08 11:20:00
         * equipmentStatus : 正常
         * faultSituation : 33
         * maintenanceLog :
         * maintenanceRecord :
         */

        private String id;
        private boolean isNewRecord;
        private String createDate;
        private String updateDate;
        private ElefailinsprecBean elefailinsprec;
        private String position;
        private String equipmentOrder;
        private String equipmentName;
        private String date;
        private String equipmentStatus;
        private String faultSituation;
        private String maintenanceLog;
        private String maintenanceRecord;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public ElefailinsprecBean getElefailinsprec() {
            return elefailinsprec;
        }

        public void setElefailinsprec(ElefailinsprecBean elefailinsprec) {
            this.elefailinsprec = elefailinsprec;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getEquipmentOrder() {
            return equipmentOrder;
        }

        public void setEquipmentOrder(String equipmentOrder) {
            this.equipmentOrder = equipmentOrder;
        }

        public String getEquipmentName() {
            return equipmentName;
        }

        public void setEquipmentName(String equipmentName) {
            this.equipmentName = equipmentName;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getEquipmentStatus() {
            return equipmentStatus;
        }

        public void setEquipmentStatus(String equipmentStatus) {
            this.equipmentStatus = equipmentStatus;
        }

        public String getFaultSituation() {
            return faultSituation;
        }
        public String getFaultSituationText() {
            if (equipmentStatus.equals("0")||equipmentStatus.equals("正常")) {
                return "正常";
            } else {
                return "故障";
            }
        }
        public void setFaultSituation(String faultSituation) {
            this.faultSituation = faultSituation;
        }

        public String getMaintenanceLog() {
            return maintenanceLog;
        }

        public void setMaintenanceLog(String maintenanceLog) {
            this.maintenanceLog = maintenanceLog;
        }

        public String getMaintenanceRecord() {
            return maintenanceRecord;
        }

        public void setMaintenanceRecord(String maintenanceRecord) {
            this.maintenanceRecord = maintenanceRecord;
        }

        public static class ElefailinsprecBean implements Serializable{
            /**
             * id : 64bfbce85f9d4465a3005b261d3b4d7f
             * isNewRecord : false
             */

            private String id;
            private boolean isNewRecord;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }
        }
    }
}
